package com.zhixi.dto;

import com.zhixi.pojo.Dish;
import com.zhixi.pojo.DishFlavor;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName DishDto
 * @Author zhangzhixi
 * @Description Dish 数据传输对象
 * @Date 2022-7-11 15:26
 * @Version 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DishDto extends Dish {

    /**
     * 菜品口味列表
     */
    private List<DishFlavor> flavors;

    /**
     * 菜品分类列表
     */
    private String categoryName;

    private Integer copies;
}
